package com.meowcook.dao;

import com.meowcook.pojo.po.Collection;
import org.apache.ibatis.annotations.Param;

public interface CollectionMapper {
    int insert(Collection row);

    int insertSelective(Collection row);

    Collection selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Collection row);

    int updateByPrimaryKey(Collection row);

    Collection selectByUserIdAndRecipeId(@Param("userId") Long userId, @Param("recipeId") Long recipeId);
}